<include file="./head" />
<body>
<div class="page theme-diy" id="page-index">
<header class="bar bar-nav">
<a class="icon icon-left pull-left " href="/"></a>
<h1 class="title">新手帮助</h1>
</header>
<div class="content native-scroll" style="overflow-y:scroll;overflow-x:hidden;">
<?php if(!$help){?>
<div class="wp">
  <div class="alert alert-success" style="margin-top:10px;">建议您通过摇一摇、附近的人等渠道多加好友并且邀请好友注册，这样收益逐天增多！</div>
</div>

<div class="card">
    <div class="card-content">
      <div class="list-block">
        <ul>
          <?php foreach($helplist as$key=>$v):?>
          <li>
          <a href="<?php echo U('/User/help/index/',array('id'=>$v['id'])); ?>" class="item-link item-content open-help_{$key}">
          <div class="item-inner">
          <div class="item-title">{$v.title}</div>
          </div>
          </a>
          </li>
          <?php endforeach;?>
        </ul>
      </div>
    </div>
  </div>
</div>
<?php }else{?>

 
  <div class="card">
    <div class="card-content">
      <div class="card-content-inner"> <?php echo htmlspecialchars_decode($help['content']); ?> </div>
    </div>
  </div>
  </div>
 
<?php }?>
<include file="./foot_nav" />
</div>
<include file="./foot" />